﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using simpleHotel.Client.UserControls;
namespace simpleHotel.Client.Hotel
{
    public partial class ucTypeRoom : BaseUserControl
    {
        //HotelReference.ObjCateRoom obj = new HotelReference.ObjCateRoom();
        public ucTypeRoom()
        {
            InitializeComponent();
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            //if (txtRoomType.Text != null)
            //{
            //    HotelReference.HotelService objHotel = new HotelReference.HotelService();
            //    obj.Name = txtRoomType.Text.Trim();
            //    obj.Description = null;
            //    int insertedID = objHotel.CreateCateRoom(obj);
            //    txtRoomType.Text = "";
            //}
            //else
            //{
            //    MessageBox.Show("Nhap ten loai phong");
            //}
        }

        private void LoadListBox()
        {
            
        }
    }
}
